<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Initializes a statement and returns an resource for use with maxdb_stmt_prepare</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.maxdb-stmt-init" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">maxdb_stmt_init</h1>
  <h1 class="refname">maxdb::stmt_init</h1>
  <p class="verinfo">(PECL maxdb &gt;= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_stmt_init</span> -- <span class="refname">maxdb::stmt_init</span> &mdash; <span class="dc-title">Initializes a statement and returns an resource for use with maxdb_stmt_prepare</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.maxdb-stmt-init-description">
  <h3 class="title">说明</h3>
  <p class="para">过程化风格</p>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>maxdb_stmt_init</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span>
   ) : <span class="type">resource</span></div>

  <p class="para rdfs-comment">面向对象风格</p>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>maxdb::stmt_init</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">object</span></div>

  <p class="para rdfs-comment">
   Allocates and initializes a statement resource suitable for
   <span class="function"><a href="maxdb_stmt_prepare.html" class="function">maxdb_stmt_prepare()</a></span>.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    Any subsequent calls to any maxdb_stmt function
    will fail until <span class="function"><a href="maxdb_stmt_prepare.html" class="function">maxdb_stmt_prepare()</a></span> was called.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.maxdb-stmt-init-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an resource.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.maxdb-stmt-init-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="maxdb_stmt_prepare.html" class="function" rel="rdfs-seeAlso">maxdb_stmt_prepare()</a> - Prepare an SQL statement for execution</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>